package edu.zut.pioneer.sale.impl;

import edu.zut.pioneer.base.service.impl.BaseTreeManagerImpl;
import edu.zut.pioneer.sale.SaleTypeManager;
import edu.zut.pioneer.sale.dao.SaleTypeDao;
import edu.zut.pioneer.sale.domain.SaleType;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service("saleTypeManager")
public class SaleTypeManagerImpl extends BaseTreeManagerImpl<SaleType, Long> implements SaleTypeManager {
    SaleTypeDao saleTypeDao;

    @Autowired
    public void setSaleTypeRep(SaleTypeDao saleTypeDao) {
        this.saleTypeDao = saleTypeDao;
        this.dao = this.saleTypeDao;
    }


}
